<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>销售价格政策</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/public.css">
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/sorttable.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/public.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/salesprice.js"></script>

	</head>

	<body>
		<div id="info_all">
			<div id="info_top">
				销售价格政策
			</div>
			<!-- 主输入区 -->
			<!-- 功能按钮 -->
			<s:form action="getSalespricepolicy.action" theme="simple" id="delrow"
				cssStyle="margin-top:0px;">
				<div id="btn">
					<input type="button" value="新增"
						onclick="addAction('showAddSalespricepolicy','showAddSalespricepolicy')"
						onfocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" id="btnsize">
					<input type="button" value="修改"
						onClick="updateAction('showEditSalespricepolicy','showEditSalespricepolicy')"
						onFocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" id="btnsize" />
					<input type="button" value="删除"
						onClick="deleteAction('deleteSalespricepolicy','deleteSalespricepolicy')"
						onFocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" id="btnsize" />
					<input type="button" value="销售价格资料"
						onClick="selectSalespricepolicy()"
						onFocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
				</div>
				<div id="info_main">
					<div id="select">
						<hr>
						<table>
							<tr>
								<td>
									政策编号
								</td>
								<td>
									<s:textfield name="salespricepolicyModel.salesPricePolicyCode"
										size="12"></s:textfield>
								</td>
								<td>
									政策名称
								</td>
								<td>
									<s:textfield name="salespricepolicyModel.salesPricePolicyName"
										size="12"></s:textfield>
								</td>
							</tr>
						</table>
					</div>
					<div class="sele">
						<input type="submit" value="查询" onfocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" id="btnsize">
						<input type="reset" value="重置" onfocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize">
						<hr>
					</div>

					<!-- 信息显示栏 -->
					<div id="info_info1">
						<table width="510px" cellpadding="1" cellspacing="1"
							class="sortable" id="info_table">
							<thead>
								<tr>
									<th>
										<input type="checkbox"  onClick="selectAll()">
									</th>
									<th width="120px">
										价格政策编号
									</th>
									<th width="140px">
										价格政策名称
									</th>
									<th width="170px">
										周期设置
									</th>
									<th width="80px">
										优先级
									</th>
									<%--<th width="120px">
										价格组合
									</th>
								--%></tr>
							</thead>
							<tbody id="mbody">
								<s:iterator value="salespricepolicyList">
									<tr>
										<td>
											<s:checkbox name="rowlist" fieldValue="%{salesPricePolicyId}"
												theme="simple"></s:checkbox>
										</td>
										<td>
											<s:property value="salesPricePolicyCode" />
										</td>
										<td>
											<s:property value="salesPricePolicyName" />
										</td>
										<td>
											<s:property value="validDateFrom" />
											——
											<s:property value="validDateTo" />
										</td>
										<td>
											<s:property value="prior" />
										</td>
										<%--<td>
											<s:property value="compoundType" />
										</td>
									--%></tr>
								</s:iterator>
							</tbody>
						</table>
					</div>
				</div>
			</s:form>
		</div>
	</body>
</html>
